//
// Author: Vladimir Migashko <migashko@gmail.com>, (C) 2011
//
// Copyright: See COPYING file that comes with this distribution
//

#ifndef FASYS_LIBS_CHANNEL_SERVICE_CHANNEL_SERVICE_HPP
#define FASYS_LIBS_CHANNEL_SERVICE_CHANNEL_SERVICE_HPP

#include <fas/mux/imux.hpp>
#include "server_config.hpp"

namespace fasys{ namespace service{ namespace channel{

class channel_server;

class channel_service
{
public:
  virtual ~channel_service();
  channel_service();
  void start( fas::mux::imux<>* mux, const server_config& conf );
  void stop();
private:
  channel_server* _server;
};

}}}

#endif
